home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CyberMycha 2005 May
/
CyberMycha 05-2005 (Poland).bin
/
Immortal
/
cotndemo.exe
/
Data1.cab
/
shadow.psh
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
Text File
|
2004-11-16
|
274 b
|
8 lines
// pixel shader for use when rendering from light viewpoint for shadowmap texture
ps_2_0 // version
dcl t0.x // vertex shader sets the depth and puts it here
mov r0,t0.x // can't go directly from t0.x to oC0
mov oC0,r0 // so have to use temporary register